package com.link_with_health.mapper;

import com.link_with_health.model.ScheduleEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface ScheduleMapper {
    ScheduleEntity queryScheduleById(Long id);
    List<ScheduleEntity> queryScheduleByDoctor(Long id);
    List<ScheduleEntity> queryAllSchedule();
    int insertSchedule(ScheduleEntity schedule);
    int updateSchedule(ScheduleEntity schedule);
    int deleteSchedule(int id);

}
